Part Number Hot Search : 
MN158414 DS3170 DMP2004 4HC2450 DAN217S3 ZMM5229B CRCW0402 TD204528
Product Description
Full Text Search
 

To Download STM32F103ZE Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1/20 www.embedinfo.com/en STM32F103ZE arm-cm3 board user manual v1.0 embest co., limited address: room 509, luohu science & technology building, #85 taining road, shenzhen, guangdong, china 518020 telephone: 0086-755-25621715 or 25635626 ext. 1715 fax: 0086-755-25616057 e-mail: sales.en@embedinfo.com || support.en@embedinfo.com website: http://www.embedinfo.com/en free datasheet http://
2/20 www.embedinfo.com/en content c hapter 1 o verview .................................................................................................................. 3 c hapter 2 h ardware i ntroduction ...................................................................................... 4 2.0 STM32F103ZE function module .................................................................................................................4 2.1 interface overview ............................................................................................................................... .........5 2.2 jumper list ............................................................................................................................... ....................6 2.3 power ............................................................................................................................... ..............................7 2.4 start selection ............................................................................................................................... .................7 2.5 clock source ............................................................................................................................... ...................8 2.6 reset ............................................................................................................................... ...............................8 2.7 audio ............................................................................................................................... ...............................8 2.8 flash ............................................................................................................................... ...............................8 2.9 nand flash ............................................................................................................................... ...................8 2.10 nor flash ............................................................................................................................... ....................8 2.11 sram ............................................................................................................................... ...........................8 2.12 serial port ............................................................................................................................... .....................8 2.13 sd card interface ............................................................................................................................... .......9 2.14 can interface ............................................................................................................................... ............10 2.15 temperature senior ............................................................................................................................... ...10 2.16 usb ............................................................................................................................... .............................10 2.17 debug interface ............................................................................................................................... .........10 2.18 lcd interface ........................................................................................................................................... 11 c hapter 3 s oftware development and relevant program examples ......................... 12 3.1 mdk introduction ............................................................................................................................... .......12 3.2 example introduction ............................................................................................................................... .12 3.3 example operation ............................................................................................................................... .....15 a ppendix a: t he io d istribution of STM32F103ZE e va l u at i o n b oard ....................... 17 free datasheet http://
3/20 www.embedinfo.com/en chapter 1 overview the STM32F103ZE is an arm embedded evaluation board produced by embest, integrate the stmicroelectronic arm cortex-m3 core-based proce ssor STM32F103ZE, operating at a 72 mhz frequency, with 512kb flash memory and 64kb sram. the board features usb, can, sd card interface, tft-lcd, rs232 serial interface, four 26-pin user extended interface, etc. plenty of software examples, which can be used in keil mdk environment, are accompanied in cdrom. features: processor STM32F103ZE frequency 72mhz 2mb nor flash 128kb sram 128mb nand flash 8m byte spi flash rtc( including back-up battery ) start jumper settings optional two-way power 5vdc and usb an sd memory card interface tft-lcd interface a temperature sensor an audio dac output 20pin jtag debug interface two rs232 serial port a usb device interface a rocker handle with four functions to control the direction four keys with functions: reset, wakeup, temper and user button four led lights four led lighter four 8-led output a can bus interface which lead by the db9 interface a ad input four user?s interface with 26pin free datasheet http://
4/20 www.embedinfo.com/en chapter 2 hardware introduction 2.0 STM32F103ZE function module free datasheet http://
5/20 www.embedinfo.com/en 2.1 interface overview peripherals description cn1 power jack p1 uart1 / male db9 com2 p2 uart1 / male db9 com1 p3 can / male db9 s1 reset key s2 wakeup key s3 tamper key s4 user key five-dimension al rocker button lcd interface user key power instructions led 8led led temperature senso r nand flash rtc battery under lcd screen jtag com1 ad input kn ob com2 spi flash sd card t power choose usb dc power interface can speaker free datasheet http://
6/20 www.embedinfo.com/en con1 usb device(b)interface con2 sd card interface con3 jtag interface con5 fsmc lcd interface j1 break-out pads 1 j2 break-out pads 2 j3 break-out pads 3 j4 break-out pads 4 u3 nand flash u4 spi flash u5 nor flash u6 sram u8 joystick 2.2 jumper list no. jumper description set option s setting description 1-2 disconnect the usb signal connection jp1 usb related 2-3 connect the usb signal connection 1-2 can work in the high-speed mode jp2 can related 2-3 can work in the standby mode jp3 can related short access can load jp4 debug related short access connect the trst line of the rest and the debug port free datasheet http://
7/20 www.embedinfo.com/en cut off not connect the trst line of the rest and the debug port 1-2 choose usb power supply jp5 power supply options (note: only one of the group can be short access ) 3-4 choose power jack dc power supply short access to connect th e dac output and speaker jp6 dac related disconnection to disconnect the dac output and speaker 2.3 power STM32F103ZE board has two power supplies; you can choose one of the following ways to supply power through jp5: (1) through the motherboard power cn1 supply 5v dc. (2) through the motherboard usb port (con1) supply power, the power current is less than 500ma. the dc5v on the motherboard input (cn1) signal is negative, as follows: the outside signal of dc5v input side (cn1) is negative, the inside is the opposite, please see the following figure: 2.4 start selection STM32F103ZE board can get started thought following three ways: start from the user's flash memory start from the system memory start from the embedded sram setting the sub-panel dip switches (sw1 and sw2) to select the start-up mode sw1 sw2 start-up mode x 0 start from the user's flash memory free datasheet http://
8/20 www.embedinfo.com/en 0 1 start from the system memory 1 1 start from the embedded sram 2.5 clock source STM32F103ZE evaluation board has two clock sources: 32khz as the rtc clock source 8mhz as the mcu clock source 2.6 reset STM32F103ZE evaluation board has two ways to reset: use the reset button (s1) on evaluation board if short connected jp4, then use the jtag debug port to reset 2.7 audio STM32F103ZE board can play audio files through external speaker. the jp6 is used to control the connection between dac output and the speaker. 2.8 flash STM32F103ZE evaluation board expanded 8mb of spi flash. through the spi1 port, the chip election of this flash is controlled by pb2 port. 2.9 nand flash STM32F103ZE evaluation board expanded 128mb of nand flash ? for further details, see schematic ?. 2.10 nor flash STM32F103ZE evaluation board expanded 2mb of nor flash ? for further details, see schematic ?. 2.11 sram STM32F103ZE evaluation board expanded 128kb of sram ? for further details, see schematic ?. 2.12 serial port STM32F103ZE evaluation board has two uart: uart1 (com1) and uart2 (com2). two serial ports are connected to the public db9 connector. uart2 is support to the rts / cts handshake signals. uart2 rs232 : the signal definition of male db9 connector ? free datasheet http://
9/20 www.embedinfo.com/en pin no. functional description pin no. functional description 1 nc 6 connect to pin 4 2 uart2_rxd 7 uart2_rts 3 uart2_txd 8 uart2_cts 4 connect to pin 6 9 5 gnd uart1 rs232 : the signal definition of public db9 connector pin no. functional description pin no. functional description 1 nc 6 connect to pin 4 2 uart1_rxd 7 connect to pin 8 3 uart1_txd 8 connect to pin 7 4 connect to pin 6 9 5 gnd 2.13 sd card interface STM32F103ZE evaluation board integrates sd card interface, supports for read/write function of sd cards. their connection signals are as follows. pin no. sd card interface signal functional description the counterpart of stm32 pin 1 cd/dat3 sd_dat3 pc11 2 cmd sd_cmd pd2 3 vss1 gnd 4 vdd +3v3 5 clk sd_clk pc12 free datasheet http://
10/20 www.embedinfo.com/en 6 vss2 gnd 7 dat0 sd_dat0 pc8 8 dat1 sd_dat1 pc9 9 dat2 sd_dat2 pc10 10 wp nc 11 ncd sd_ncd pf11 12 pad1 gnd 13 pad2 gnd 2.14 can interface the STM32F103ZE board uses sn65hvd230 (u10) as can driver. can interface uses a db9 connector, in which pin 2 provides canl signal and pin 7 provides c anh signal. these pins connect to the driver chip of sn65hvd230 can. the definition of can db9 connector pin no. functional description pin no. functional description ,4,8,9 nc 7 canh 2 canl 3,5,6 gnd 2.15 temperature senior the stlm75m2e temperature sensors of i2c interface is connected to the i2c1 interface (at STM32F103ZE development board). two separately n-channel enhanced mos-fet is used for the levels conversion, making the different voltage devices can access to the same i2c bus. 2.16 usb STM32F103ZE supports for usb2.0 through the usb b-type interface it can do the usb full-speed communication. meanwhile, through this usb interface, we can provide 5v dc (500ma current limited) for the board. 2.17 debug interface STM32F103ZE evaluation board has two debug interfaces: v con3: the standard 20-pin jtag debug interface; v 7 pin swdio 9 pin swclk are used for swd debug interface in con3 and support the new arm free datasheet http://
11/20 www.embedinfo.com/en cortex-m3 seri al debug. the definition of jtag debug interface as follows: pin no. functional description pin no. functional description 1 3.3v 2 3.3v 3 trst 4 gnd 5 tdi 6 gnd 7 tms 8 gnd 9 tck 10 gnd 11 rtck 12 gnd 13 tdo 14 gnd 15 reset 16 gnd 17 dbgrq 18 gnd 19 dbgack 20 gnd 2.18 lcd interface color tft lcd pin no. functional description /o port 1 cs pg12 2 rs pf0 3 wr/scl pd5 4 rd pd4 5 reset reset 22 bl_gnd gnd 23 bl_control +3v3 24 vdd +3v3 25 vc1 +3v3 26 gnd gnd 27 gnd gnd 28 bl_vdd +3v3 29 sdo nc 30 sdi nc free datasheet http://
12/20 www.embedinfo.com/en chapter 3 software development and relevant program examples 3.1 mdk introduction realview mdk development suite is the latest software development tool of arm limited corporation for all kinds of embedded processors. it integrates the most advanced technology in this industry, including vision3 ide and realview compiler, realview mdk supports ar m7, arm9 and the latest cortex-m3 core processor. it has a configuration wizard for startup code and integrates flash program module, powerful device simulation, performance analyzer and so on. you can obtain mdk software from the cd released with STM32F103ZE board, or you can download the latest version from keil website www.keil.com. double click the installation file setup.exe, finish keil uvision3 installation under the guidance of the installation wizard. the installation interface as follows: 3.2 example introduction STM32F103ZE evaluation board has provided abundant examples; they can be compiled and run in keil uvision3 directly. experiment name f unction description 8led control the 8 nixie tubes through gpio. adc when the conversion value of adc channel14 beyond the simulative watchdog?s upper limit or lower limit, it will enter into awd interrupt and control led1 in interrupt processing function. audio the program writes the audio file (wave format) into spi free datasheet http://
13/20 www.embedinfo.com/en flash, reads the audio file from spi flash and output it through speaker. bkp read or write the backup register , check if it is correct or not, and trigger the relevant led at the same time. can in experiment, can communication works in loopback mode, transmit or receive a group data at the speed of 100kb/s, and when the speed reaches to 500kb/ s, it will transmit or receive data using interrupt mode. this implements the can interface?s self-check function. cortexm3 the program demonstrates how to use cortexm3?s bit management to execute read, write and the variable control of reading sram. crc generate crc error-detecting code through crc module. dac implement da conversion through dac module debug the program simulates the condition when the fault parameter is transmitted, the fault source will be printed in usart1 and lcd, and it implements the debug simulation function. dma the program demonstrates how to transmit a group data with dma channel (from flash memo ry to ram memory) and the transmission state. exti this program shows how to configure an interrupt line to get an interrupt and trigger the interrupt processing program. flash implement the erase, read and write operation on flash?s definite address, and checkout the written data, lastly read it to flash and print it through usart1 and lcd. gpio this program has set a variety of ways to control gpio, it also simulates the transport control line which is used to control jtag by kernel, it will disconnect the jtag when trigger an external interrupt. iwdg using systick interrupt to re load iwdg counter (every time 350ms). lcd control lcd to show chars and colorful picture through fsmc interface. nandflash implement the read and write operation to nandflash through fsmc, and the result of operation is shown by led, usart1 and lcd. norflash implement the read and write operation of external norflash through fsmc, and the result of operation is shown by led, usart1 and lcd. nvic nested vector interrupt control, it links with three clocks, and trigger the led using interrupt. pwr control system into stop mode, and system woke up by exti interrupt. rcc this program demonstrates how to configure the clocks of all kinds of interface using chip cl ock?s manage function, and it free datasheet http://
14/20 www.embedinfo.com/en implements the switch automatically between internal clock and external clock. rtc use for clock manage, when startup, if it has not set clock?s time, it will have a tip to set time, then it can show time, and the clock?s time can hold when power down because of on board battery. sdio implement read and write operation of sd card through sdio. spi spi mode can control the read and write operation on m25p64 flash. sram implement the read and write operation of external sram through fsmc, and the result of operation is shown by led usart1 and lcd. systick it shows how to configure systick to get 1ms output. tim1 through configuration, it can output clock waveform with different duty cycle. tim configure the clock function, output different frequency value, trigger four leds respectively. tsensor get temperature data through hyper sensitivity digital temperature sensor, the result shows by usart1 and lcd, it gathers the real-time temperature data. usart communicate with pc through crossover serial port line (115200b/s). usb joystickmouse communicate with pc through usb protocol; it can control the position of the mouse in screen by direction keys in rocker key-press. usb mass_storage implement the conversion between usb data and sd card storage interface through usb interface, after plug sd card and the board is power on, the pc system can identify the storage device automatically, then we can read and write the files. usb virtual com this program demonstrates the virtual com port through usb port, users can output data through normal com 1 (or 0), and this data can be shown by virtual com port (but it need to configure the drive program of virtual com port before experiment). usb device_firmware_upgrade download this program to flash (after update the drive program), it will add a usb hardware device in pc, then we can control this device through the software in pc. wwdg this program demonstrates how to set and update the count value of watchdog counter, when this value is 0 it will trigger the correspondi ng interrupt. free datasheet http://
15/20 www.embedinfo.com/en 3.3 example operation operating sequence of one program take the case of exti_test 1 open exti_test folder there are 6 files project - store project files inc- store head files src- store source files listing- store link files run_in_flash- store compile files read_me- store document description enter into project folder, double-click exti.uv2 project file then will open this project file 2 this project file includes startup storage area of startup codes ,application file storage area of main source program codes ,common file source program?s files library ,readme the program?s document description folders 3 link the power line and emulator line (between ulink2 and jtag 4 click flash/download to download the program as follows: or click this shortcut icon click to download program 5 after download, execute debug/start/stop debug session(ctrl+f5) to have a debug as follows or shortcut icon to enter into debug after click, the main displaying area will show assemb ly code, if you want to see source codes, you can free datasheet http://
16/20 www.embedinfo.com/en right click mouse before step, choose ?show source code for current address?. as follows there will show source codes 6 we can make use of the shortcut debug icon in window execute the debug process, the icon as follows free datasheet http://
17/20 www.embedinfo.com/en appendix a: the io distribution of STM32F103ZE evaluation board level tqfp100 pins type input output the io assign of STM32F103ZE evaluation board 1 pe2 i/o a23 2 pe3 i/o a19 3 pe4 i/o a20 4 pe5 i/o a21 5 pe6 i/o a22 6 vbat input vbat 7 pc13 i/o tamper button 8 pc14 i/o x1(osc32_in) 9 pc15 i/o x1(osc32_out) 10 pf0 i/o a0 11 pf1 i/o a1 12 pf2 i/o a2 13 pf3 i/o a3 14 pf4 i/o a4 15 pf5 i/o a5 16 vss5 gnd 17 vdd5 +3v3 18 pf6 i/o led1 19 pf7 i/o led2 20 pf8 i/o led3 21 pf9 i/o led4 22 pf10 i/o pf10 23 osc_in osc_in 24 osc_out osc_out 25 nrst input reset button 26 pc0 i/o pc0 27 pc1 i/o pc1 28 pc2 i/o pc2 29 pc3 i/o pc3 30 vssa gnd 31 vref- gnd 32 vref+ +3v3 33 vdda +3v3 34 pa0/wkup i/o wakeup 35 pa1 i/o pa1 free datasheet http://
18/20 www.embedinfo.com/en 36 pa2 i/o txd2 37 pa3 i/o rxd2 38 vss4 gnd 39 vdd4 +3v3 40 pa4 i/o dac_out1 41 pa5 i/o spi1_clk 42 pa6 i/o spi1_miso 43 pa7 i/o spi1_mosi 44 pc4 i/o pc4 45 pc5 i/o pc5 46 pb0 i/o pb0 47 pb1 i/o pb1 48 pb2 i/o spi1_cs 49 pf11 i/o sd_ncd 50 pf12 i/o a6 51 vss6 gnd 52 vdd6 +3v3 53 pf13 i/o a7 54 pf14 i/o a8 55 pf15 i/o a9 56 pg0 i/o a10 57 pg1 i/o a11 58 pe7 i/o d4 59 pe8 i/o d5 60 pe9 i/o d6 61 vss7 gnd 62 vdd7 +3v3 63 pe10 i/o d7 64 pe11 i/o d8 65 pe12 i/o d9 66 pe13 i/o d10 67 pe14 i/o d11 68 pe15 i/o d12 69 pb10 i/o pb10 70 pb11 i/o pb11 71 vss1 gnd 72 vdd1 +3v3 73 pb12 i/o pb12 74 pb13 i/o pb13 75 pb14 i/o usb_dis 76 pb15 i/o pb15 77 pd8 i/o d13 78 pd9 i/o d14 79 pd10 i/o d15 80 pd11 i/o a16 free datasheet http://
19/20 www.embedinfo.com/en 81 pd12 i/o a17 82 pd13 i/o a18 83 vss8 gnd 84 vdd8 +3v3 85 pd14 i/o d0 86 pd15 i/o d1 87 pg2 i/o a12 88 pg3 i/o a13 89 pg4 i/o a14 90 pg5 i/o a15 91 pg6 i/o fsmc_int2 92 pg7 i/o joy_sel 93 pg8 i/o user 94 vss9 gnd 95 vdd9 +3v3 96 pc6 i/o pc6 97 pc7 i/o pc7 98 pc8 i/o sd_data0 99 pc9 i/o sd_data1 100 pa8 i/o bl_cn 101 pa9 i/o txd1 102 pa10 i/o rxd1 103 pa11 i/o usb_dm 104 pa12 i/o usb_dp 105 pa13 i/o tms 106 nc 107 vss2 gnd 108 vdd2 +3v3 109 pa14 i/o tck 110 pa15 i/o tdi 111 pc10 i/o sd_data2 112 pc11 i/o sd_data3 113 pc12 i/o sd_clk 114 pd0 i/o d2 115 pd1 i/o d3 116 pd2 i/o sd_cmd 117 pd3 i/o joy_down 118 pd4 i/o fsmc_noe 119 pd5 i/o fsmc_nwe 120 vss10 gnd 121 vdd10 +3v3 122 pd6 i/o fsmc_nwait 123 pd7 i/o fsmc_nce2 124 pg9 i/o fsmc_ne2 125 pg10 i/o fsmc_ne3 free datasheet http://
20/20 www.embedinfo.com/en 126 pg11 i/o pg11 127 pg12 i/o fsmc_ne4 128 pg13 i/o joy_right 129 pg14 i/o joy_left 130 vss11 gnd 131 vdd11 +3v3 132 pg15 i/o joy_up 133 pb3 i/o tdo 134 pb4 i/o trst 135 pb5 i/o temp_int 136 pb6 i/o temp_scl 137 pb7 i/o temp_sda 138 boot0 sw1 139 pb8 i/o can_rx 140 pb9 i/o can_tx 141 pe0 i/o fsmc_nbl0 142 pe1 i/o fsmc_nbl1 143 vss3 gnd 144 vdd3 +3v3 free datasheet http://


▲Up To Search▲   

 
Price & Availability of STM32F103ZE

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X